/////////////////////////////////////////////////////////////////////////////
//
// XepdtLogHandler.h
//
/////////////////////////////////////////////////////////////////////////////

#pragma once

#include <loghandler.h>

class CXepdtClient;

class CXepdtLogHandler : public gloox::LogHandler
{
// Construction
public:
	CXepdtLogHandler();
	CXepdtLogHandler( CXepdtClient* pClient );
	virtual ~CXepdtLogHandler();

// Override
public:
	virtual void handleLog( gloox::LogLevel level, gloox::LogArea area, const std::string& message );

	std::string LogInfoFormat( gloox::LogLevel level, gloox::LogArea area, const std::string& message );

private:
	CXepdtClient* m_pClient;
};


